package online.longzipeng.back.mapper;

import online.longzipeng.back.pojo.vo.TeamMessageVo;
import org.apache.ibatis.annotations.Mapper;
import online.longzipeng.back.pojo.entity.TeamMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * @author lzp
 */
@Mapper
public interface TeamMessageMapper extends BaseMapper<TeamMessage>  {

    /**
     * 获取当前登录用户的所有团队消息
     * @param userId
     */
    List<TeamMessageVo> getTeamMessages(@Param("userId") Long userId);
}
